package br.com.citta.business.service.impl;

import br.com.citta.business.entities.RecVinculado;
import br.com.citta.business.service.RecVinculadoService;
import br.com.citta.dao.RecVinculadoDao;
import java.util.List;

public class RecVinculadoServiceImpl implements RecVinculadoService{
    
    RecVinculadoDao recVinculadoDao;
    
    public void setRecVinculadoDao(RecVinculadoDao recVinculadoDao){
        this.recVinculadoDao = recVinculadoDao;
    }
    
    public List<RecVinculado> findAll(String ordem){
        return recVinculadoDao.findAll(ordem);
    }

    public List<RecVinculado> findByAnoBase(String anoBase, String ordem){
        return recVinculadoDao.findByAnoBase(anoBase, ordem);
    }
    
}
